package com.maxd.bean.activity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 参加活动-入参
 */
@ApiModel("参加活动")
@Data
public class JoinActivityReq {

    @ApiModelProperty("活动ID")
    @NotNull
    private Long activityId;

    @ApiModelProperty("金额")
    private BigDecimal amount = BigDecimal.ZERO;

    @ApiModelProperty("人数，不填默认为1")
    private Integer num = 1;

    @ApiModelProperty("姓名")
    private String userName;

    @ApiModelProperty("联系电话")
    private String contactPhone;


}
